<template>
  <div class="videobox">
    <div class="video" v-for="(v, i) in arr" :key="i">
      <div class="user">
        <img class="i1" src="../../images/touxiang.webp" alt="" />
        <span class="u1">宗宝</span>
        <i class="iconfont icon-dianying"></i>
        <span class="u2">关注</span>
      </div>
      <div class="video_body">
        <video
          src="../../assets/SP.mp4"
          controls
          muted
          type="video/mp4"
        ></video>
      </div>
      <div class="info">
        <img class="i2" src="../../images/touxiang.webp" alt="" />
        <div class="d1">
          <p>xxxxxxxxx</p>
          <p>xxx xxxxxxx</p>
        </div>
        <i class="i4">></i>
      </div>
      <div class="d8">
        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      </div>
      <div class="d6">
        <i class="iconfont icon-dianying"></i>
        <i class="iconfont icon-hongbao1"></i>
        <i class="iconfont icon-hongbao1"></i>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      arr: [1, 1, 1],
    };
  },
};
</script>

<style scoped>
.videobox {
  width: 100%;
  border-radius: 20px;
  padding-top: 0.5rem;
  background-image: linear-gradient(
    rgb(230, 247, 253),
    rgb(241, 249, 252),
    rgb(236, 246, 250),
    rgb(255, 255, 255)
  );
  font-size: 0.14rem;
}
.video {
  width: 3.5rem;
  height: 5.5rem;

  margin: auto;
  padding-bottom: 0.5rem;
}
.user {
  font-size: 0.16rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.i1 {
  width: 0.32rem;
  border-radius: 50%;
}
.u1 {
  margin-left: 0.1rem;
  font-weight: 700;
}
.icon-dianying {
  margin-left: 2.1rem;
  color: pink;
  font-size: 0.18rem;
}
.u2 {
  margin-left: 0.04rem;
  color: pink;
}
/* .video_body {
  width: 3.5rem;
  height: 2.82rem;
} */
video {
  width: 3.5rem;
  height: 2.82rem;
  border-radius: 0.1rem;
}
.info {
  width: 3.5rem;
  height: 0.55rem;
  border-radius: 0.1rem;
  background-color: #f5f5f5;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.i2 {
  width: 0.55rem;
  border-radius: 10px;
}
.d1 {
  width: 2.6rem;
  height: 0.42rem;
  padding-left: 0.1rem;
}
.i4 {
  width: 0.2rem;
  height: 0.3rem;
  text-align: center;
  line-height: 00.3rem;
  font-size: 0.1rem;
}
p {
  font-size: 0.12rem;
}
.d8 {
  word-wrap: break-word;
}
.d6 {
  width: 100%;
  height: 0.45rem;
  background-color: skyblue;
  text-align: center;
  line-height: 0.45rem;
}
.icon-hongbao1 {
  margin-left: 0.2rem;
}
</style>